const article: AuthRoute.Route = {
  name: 'article',
  path: '/article',
  component: 'basic',
  children: [
    {
      name: 'article_channel',
      path: '/article/channel',
      component: 'self',
      meta: {
        title: '文章分类',
        requiresAuth: true,
        icon: 'icon-park-outline:analysis',
        i18nTitle: 'routes.article.channel'
      }
    },
    {
      name: 'article_manage',
      path: '/article/manage',
      component: 'self',
      meta: {
        title: '文章管理',
        requiresAuth: true,
        icon: 'icon-park-outline:workbench',
        i18nTitle: 'routes.article.manage'
      }
    },
    {
      name: 'article_template',
      path: '/article/template',
      component: 'self',
      meta: {
        title: '文章模板',
        requiresAuth: true,
        icon: 'icon-park-outline:workbench',
        i18nTitle: 'routes.article.template'
      }
    }
  ],
  meta: {
    title: '文章',
    icon: 'icon-park-outline:editor',
    order: 2,
    i18nTitle: 'routes.article._value'
  }
};

export default article;
